package com.qf.entity;

import lombok.Data;

@Data  //商家实体类
public class Merchant {

    private int m_id; //商家m_id
    private String m_name; //商家名称m_name
    private int m_sale; //商家销量
    private int m_deliveryprice; //商家配送价格
    private String m_image; //商家图片
    private int m_instance; //商家距离
    private int m_startprice; //商家起送价格
    private double m_score; //商家评分
    private int m_scoreconent; //评分内容
    private int m_deliverytime; //配送时长
    private String m_descripe; //商家描述
    private int mc_id; //商家分类外键
    private int m_status; //商家状态 是否失效

    public Merchant(int m_id, String m_name, int m_sale, int m_deliveryprice, String m_image, int m_instance, int m_startprice, double m_score, int m_scoreconent, int m_deliverytime, String m_descripe, int mc_id, int m_status) {
        this.m_id = m_id;
        this.m_name = m_name;
        this.m_sale = m_sale;
        this.m_deliveryprice = m_deliveryprice;
        this.m_image = m_image;
        this.m_instance = m_instance;
        this.m_startprice = m_startprice;
        this.m_score = m_score;
        this.m_scoreconent = m_scoreconent;
        this.m_deliverytime = m_deliverytime;
        this.m_descripe = m_descripe;
        this.mc_id = mc_id;
        this.m_status = m_status;
    }
}
